package com.bt7274.utils;

/**
 * @BelongsProject: bt7274-back
 * @BelongsPackage: com.bt7274.utils
 * @Author: Galland
 * @CreateTime: 2025-06-04
 * @Description: TODO
 * @Version: 1.0
 */
import lombok.Data;

import java.util.List;

@Data
public class PageResponse<T> {

    private List<T> records;

    private Long total;

    private Long current;

    private Long size;

    public PageResponse(List<T> records, Long total, Long current, Long size) {
        this.records = records;
        this.total = total;
        this.current = current;
        this.size = size;
    }
}
